<head>
	<link rel="stylesheet" type="text/css" href="./html/common.css" />
</head>
<div class="content">
	<div class = "setTitle">博文管理 <a href='editor.php'>+发布博文</a></div>
	<table class="setTable">
		<tbody>
			<tr>
				<th>ID</th>
				<th>标题</th>
				<th>作者</th>
				<th>时间</th>
				<th>浏览量</th>
				<th>管理</th>
			</tr>
			{foreach $article as $value}
				<tr>
					<td>{$value.id}</td>
					<td><a href='../view.php?article={$value.id}' target='_blank'>{$value.title}</a></td>
					<td>{$value.author}</td>
					<td>{$value.pubtime}</td>
					<td>{$value.view}</td>
					<td>
						<a href="editor.php?editor={$value.id}">编辑</a>
						<a href="trans.php?action=unsetarticle&id={$value.id}">删除</a>
					</td>
				</tr>
			{/foreach}
		</tbody>
	</table>
<div>
